#ifndef RTSPPROCESSCONTROL_H_2343__
#define RTSPPROCESSCONTROL_H_2343__

#include "OSHeaders.h"
#include "RTSPProtocol.h"

class CRTSPProcessControl{
public:
	CRTSPProcessControl();
	
	~CRTSPProcessControl();

public:
	Bool	IsValidStatus(UInt32 vStatus);
	Bool	AddStatus(UInt32 vStatus);
	Bool	DeleteStatus(UInt32 vStatus);
	Bool	Clear();
	UInt32	GetStatus();

	enum
	{
		RTSPDescribe	= 0,
    		RTSPSetup		= 1,
    		RTSPPlay		= 2
	};
protected:
	enum
	{
		RTSPTotalStatus = 3
	};

	//process control bit
	static UInt32 m_RTSPMask[RTSPTotalStatus][2];
	UInt32	m_Status;
};

#endif
